package com.briup.bms.dao;

import com.briup.bms.bean.SInventory;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SInventoryMapper {
    int deleteByPrimaryKey(@Param("id") Integer id, @Param("warehouseId") Integer warehouseId);

    int insert(SInventory record);

    SInventory selectByPrimaryKey(@Param("id") Integer id, @Param("warehouseId") Integer warehouseId);

    List<SInventory> selectAll();

    int updateByPrimaryKey(SInventory record);

    List<SInventory> selectByCondition(Integer wareHouseId, Integer productId);
}